package com.indusfo.spc.service;

import com.indusfo.spc.pojo.RepairWork;
import com.indusfo.spc.vo.JSONObject;

public interface RepairWorkService {
    // 查询
    JSONObject selectRepairWork(RepairWork repairWork,String startDate,String endDate);
    // 新增
    JSONObject insertRepairWork(RepairWork repairWork);
    // 修改
    JSONObject updateRepairWork(RepairWork repairWork);
    // 停用/启用/删除
    JSONObject definedRepairWork(Long[] repairWorkIds ,Integer[] auditStates, Integer dataState);
    // 审核/完结
    JSONObject auditRepairWork(Long[] repairWorkIds, Integer[] auditStates, Integer auditState);
}
